package com.atguigu.crowd.entity.po;

import java.util.ArrayList;
import java.util.List;

public class LandProjectExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public LandProjectExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andSourceIdIsNull() {
            addCriterion("source_id is null");
            return (Criteria) this;
        }

        public Criteria andSourceIdIsNotNull() {
            addCriterion("source_id is not null");
            return (Criteria) this;
        }

        public Criteria andSourceIdEqualTo(String value) {
            addCriterion("source_id =", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdNotEqualTo(String value) {
            addCriterion("source_id <>", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdGreaterThan(String value) {
            addCriterion("source_id >", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdGreaterThanOrEqualTo(String value) {
            addCriterion("source_id >=", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdLessThan(String value) {
            addCriterion("source_id <", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdLessThanOrEqualTo(String value) {
            addCriterion("source_id <=", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdLike(String value) {
            addCriterion("source_id like", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdNotLike(String value) {
            addCriterion("source_id not like", value, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdIn(List<String> values) {
            addCriterion("source_id in", values, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdNotIn(List<String> values) {
            addCriterion("source_id not in", values, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdBetween(String value1, String value2) {
            addCriterion("source_id between", value1, value2, "sourceId");
            return (Criteria) this;
        }

        public Criteria andSourceIdNotBetween(String value1, String value2) {
            addCriterion("source_id not between", value1, value2, "sourceId");
            return (Criteria) this;
        }

        public Criteria andProjectNoIsNull() {
            addCriterion("project_no is null");
            return (Criteria) this;
        }

        public Criteria andProjectNoIsNotNull() {
            addCriterion("project_no is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNoEqualTo(String value) {
            addCriterion("project_no =", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoNotEqualTo(String value) {
            addCriterion("project_no <>", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoGreaterThan(String value) {
            addCriterion("project_no >", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoGreaterThanOrEqualTo(String value) {
            addCriterion("project_no >=", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoLessThan(String value) {
            addCriterion("project_no <", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoLessThanOrEqualTo(String value) {
            addCriterion("project_no <=", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoLike(String value) {
            addCriterion("project_no like", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoNotLike(String value) {
            addCriterion("project_no not like", value, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoIn(List<String> values) {
            addCriterion("project_no in", values, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoNotIn(List<String> values) {
            addCriterion("project_no not in", values, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoBetween(String value1, String value2) {
            addCriterion("project_no between", value1, value2, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNoNotBetween(String value1, String value2) {
            addCriterion("project_no not between", value1, value2, "projectNo");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNull() {
            addCriterion("project_name is null");
            return (Criteria) this;
        }

        public Criteria andProjectNameIsNotNull() {
            addCriterion("project_name is not null");
            return (Criteria) this;
        }

        public Criteria andProjectNameEqualTo(String value) {
            addCriterion("project_name =", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotEqualTo(String value) {
            addCriterion("project_name <>", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThan(String value) {
            addCriterion("project_name >", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameGreaterThanOrEqualTo(String value) {
            addCriterion("project_name >=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThan(String value) {
            addCriterion("project_name <", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLessThanOrEqualTo(String value) {
            addCriterion("project_name <=", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameLike(String value) {
            addCriterion("project_name like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotLike(String value) {
            addCriterion("project_name not like", value, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameIn(List<String> values) {
            addCriterion("project_name in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotIn(List<String> values) {
            addCriterion("project_name not in", values, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameBetween(String value1, String value2) {
            addCriterion("project_name between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andProjectNameNotBetween(String value1, String value2) {
            addCriterion("project_name not between", value1, value2, "projectName");
            return (Criteria) this;
        }

        public Criteria andTransferorIsNull() {
            addCriterion("transferor is null");
            return (Criteria) this;
        }

        public Criteria andTransferorIsNotNull() {
            addCriterion("transferor is not null");
            return (Criteria) this;
        }

        public Criteria andTransferorEqualTo(String value) {
            addCriterion("transferor =", value, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorNotEqualTo(String value) {
            addCriterion("transferor <>", value, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorGreaterThan(String value) {
            addCriterion("transferor >", value, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorGreaterThanOrEqualTo(String value) {
            addCriterion("transferor >=", value, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorLessThan(String value) {
            addCriterion("transferor <", value, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorLessThanOrEqualTo(String value) {
            addCriterion("transferor <=", value, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorLike(String value) {
            addCriterion("transferor like", value, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorNotLike(String value) {
            addCriterion("transferor not like", value, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorIn(List<String> values) {
            addCriterion("transferor in", values, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorNotIn(List<String> values) {
            addCriterion("transferor not in", values, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorBetween(String value1, String value2) {
            addCriterion("transferor between", value1, value2, "transferor");
            return (Criteria) this;
        }

        public Criteria andTransferorNotBetween(String value1, String value2) {
            addCriterion("transferor not between", value1, value2, "transferor");
            return (Criteria) this;
        }

        public Criteria andTranMethodsIsNull() {
            addCriterion("tran_methods is null");
            return (Criteria) this;
        }

        public Criteria andTranMethodsIsNotNull() {
            addCriterion("tran_methods is not null");
            return (Criteria) this;
        }

        public Criteria andTranMethodsEqualTo(String value) {
            addCriterion("tran_methods =", value, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsNotEqualTo(String value) {
            addCriterion("tran_methods <>", value, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsGreaterThan(String value) {
            addCriterion("tran_methods >", value, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsGreaterThanOrEqualTo(String value) {
            addCriterion("tran_methods >=", value, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsLessThan(String value) {
            addCriterion("tran_methods <", value, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsLessThanOrEqualTo(String value) {
            addCriterion("tran_methods <=", value, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsLike(String value) {
            addCriterion("tran_methods like", value, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsNotLike(String value) {
            addCriterion("tran_methods not like", value, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsIn(List<String> values) {
            addCriterion("tran_methods in", values, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsNotIn(List<String> values) {
            addCriterion("tran_methods not in", values, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsBetween(String value1, String value2) {
            addCriterion("tran_methods between", value1, value2, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andTranMethodsNotBetween(String value1, String value2) {
            addCriterion("tran_methods not between", value1, value2, "tranMethods");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdIsNull() {
            addCriterion("pro_approval_id is null");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdIsNotNull() {
            addCriterion("pro_approval_id is not null");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdEqualTo(String value) {
            addCriterion("pro_approval_id =", value, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdNotEqualTo(String value) {
            addCriterion("pro_approval_id <>", value, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdGreaterThan(String value) {
            addCriterion("pro_approval_id >", value, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdGreaterThanOrEqualTo(String value) {
            addCriterion("pro_approval_id >=", value, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdLessThan(String value) {
            addCriterion("pro_approval_id <", value, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdLessThanOrEqualTo(String value) {
            addCriterion("pro_approval_id <=", value, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdLike(String value) {
            addCriterion("pro_approval_id like", value, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdNotLike(String value) {
            addCriterion("pro_approval_id not like", value, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdIn(List<String> values) {
            addCriterion("pro_approval_id in", values, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdNotIn(List<String> values) {
            addCriterion("pro_approval_id not in", values, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdBetween(String value1, String value2) {
            addCriterion("pro_approval_id between", value1, value2, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andProApprovalIdNotBetween(String value1, String value2) {
            addCriterion("pro_approval_id not between", value1, value2, "proApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdIsNull() {
            addCriterion("tran_approval_id is null");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdIsNotNull() {
            addCriterion("tran_approval_id is not null");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdEqualTo(String value) {
            addCriterion("tran_approval_id =", value, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdNotEqualTo(String value) {
            addCriterion("tran_approval_id <>", value, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdGreaterThan(String value) {
            addCriterion("tran_approval_id >", value, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdGreaterThanOrEqualTo(String value) {
            addCriterion("tran_approval_id >=", value, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdLessThan(String value) {
            addCriterion("tran_approval_id <", value, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdLessThanOrEqualTo(String value) {
            addCriterion("tran_approval_id <=", value, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdLike(String value) {
            addCriterion("tran_approval_id like", value, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdNotLike(String value) {
            addCriterion("tran_approval_id not like", value, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdIn(List<String> values) {
            addCriterion("tran_approval_id in", values, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdNotIn(List<String> values) {
            addCriterion("tran_approval_id not in", values, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdBetween(String value1, String value2) {
            addCriterion("tran_approval_id between", value1, value2, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andTranApprovalIdNotBetween(String value1, String value2) {
            addCriterion("tran_approval_id not between", value1, value2, "tranApprovalId");
            return (Criteria) this;
        }

        public Criteria andLandDistrictIsNull() {
            addCriterion("land_district is null");
            return (Criteria) this;
        }

        public Criteria andLandDistrictIsNotNull() {
            addCriterion("land_district is not null");
            return (Criteria) this;
        }

        public Criteria andLandDistrictEqualTo(String value) {
            addCriterion("land_district =", value, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictNotEqualTo(String value) {
            addCriterion("land_district <>", value, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictGreaterThan(String value) {
            addCriterion("land_district >", value, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictGreaterThanOrEqualTo(String value) {
            addCriterion("land_district >=", value, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictLessThan(String value) {
            addCriterion("land_district <", value, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictLessThanOrEqualTo(String value) {
            addCriterion("land_district <=", value, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictLike(String value) {
            addCriterion("land_district like", value, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictNotLike(String value) {
            addCriterion("land_district not like", value, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictIn(List<String> values) {
            addCriterion("land_district in", values, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictNotIn(List<String> values) {
            addCriterion("land_district not in", values, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictBetween(String value1, String value2) {
            addCriterion("land_district between", value1, value2, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andLandDistrictNotBetween(String value1, String value2) {
            addCriterion("land_district not between", value1, value2, "landDistrict");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentIsNull() {
            addCriterion("announcement_attachment is null");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentIsNotNull() {
            addCriterion("announcement_attachment is not null");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentEqualTo(String value) {
            addCriterion("announcement_attachment =", value, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentNotEqualTo(String value) {
            addCriterion("announcement_attachment <>", value, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentGreaterThan(String value) {
            addCriterion("announcement_attachment >", value, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentGreaterThanOrEqualTo(String value) {
            addCriterion("announcement_attachment >=", value, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentLessThan(String value) {
            addCriterion("announcement_attachment <", value, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentLessThanOrEqualTo(String value) {
            addCriterion("announcement_attachment <=", value, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentLike(String value) {
            addCriterion("announcement_attachment like", value, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentNotLike(String value) {
            addCriterion("announcement_attachment not like", value, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentIn(List<String> values) {
            addCriterion("announcement_attachment in", values, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentNotIn(List<String> values) {
            addCriterion("announcement_attachment not in", values, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentBetween(String value1, String value2) {
            addCriterion("announcement_attachment between", value1, value2, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andAnnouncementAttachmentNotBetween(String value1, String value2) {
            addCriterion("announcement_attachment not between", value1, value2, "announcementAttachment");
            return (Criteria) this;
        }

        public Criteria andVersionIsNull() {
            addCriterion("version is null");
            return (Criteria) this;
        }

        public Criteria andVersionIsNotNull() {
            addCriterion("version is not null");
            return (Criteria) this;
        }

        public Criteria andVersionEqualTo(String value) {
            addCriterion("version =", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotEqualTo(String value) {
            addCriterion("version <>", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThan(String value) {
            addCriterion("version >", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionGreaterThanOrEqualTo(String value) {
            addCriterion("version >=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThan(String value) {
            addCriterion("version <", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLessThanOrEqualTo(String value) {
            addCriterion("version <=", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionLike(String value) {
            addCriterion("version like", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotLike(String value) {
            addCriterion("version not like", value, "version");
            return (Criteria) this;
        }

        public Criteria andVersionIn(List<String> values) {
            addCriterion("version in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotIn(List<String> values) {
            addCriterion("version not in", values, "version");
            return (Criteria) this;
        }

        public Criteria andVersionBetween(String value1, String value2) {
            addCriterion("version between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andVersionNotBetween(String value1, String value2) {
            addCriterion("version not between", value1, value2, "version");
            return (Criteria) this;
        }

        public Criteria andSyncTypeIsNull() {
            addCriterion("sync_type is null");
            return (Criteria) this;
        }

        public Criteria andSyncTypeIsNotNull() {
            addCriterion("sync_type is not null");
            return (Criteria) this;
        }

        public Criteria andSyncTypeEqualTo(String value) {
            addCriterion("sync_type =", value, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeNotEqualTo(String value) {
            addCriterion("sync_type <>", value, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeGreaterThan(String value) {
            addCriterion("sync_type >", value, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeGreaterThanOrEqualTo(String value) {
            addCriterion("sync_type >=", value, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeLessThan(String value) {
            addCriterion("sync_type <", value, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeLessThanOrEqualTo(String value) {
            addCriterion("sync_type <=", value, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeLike(String value) {
            addCriterion("sync_type like", value, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeNotLike(String value) {
            addCriterion("sync_type not like", value, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeIn(List<String> values) {
            addCriterion("sync_type in", values, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeNotIn(List<String> values) {
            addCriterion("sync_type not in", values, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeBetween(String value1, String value2) {
            addCriterion("sync_type between", value1, value2, "syncType");
            return (Criteria) this;
        }

        public Criteria andSyncTypeNotBetween(String value1, String value2) {
            addCriterion("sync_type not between", value1, value2, "syncType");
            return (Criteria) this;
        }

        public Criteria andInsertTimeIsNull() {
            addCriterion("insert_time is null");
            return (Criteria) this;
        }

        public Criteria andInsertTimeIsNotNull() {
            addCriterion("insert_time is not null");
            return (Criteria) this;
        }

        public Criteria andInsertTimeEqualTo(String value) {
            addCriterion("insert_time =", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeNotEqualTo(String value) {
            addCriterion("insert_time <>", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeGreaterThan(String value) {
            addCriterion("insert_time >", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeGreaterThanOrEqualTo(String value) {
            addCriterion("insert_time >=", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeLessThan(String value) {
            addCriterion("insert_time <", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeLessThanOrEqualTo(String value) {
            addCriterion("insert_time <=", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeLike(String value) {
            addCriterion("insert_time like", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeNotLike(String value) {
            addCriterion("insert_time not like", value, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeIn(List<String> values) {
            addCriterion("insert_time in", values, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeNotIn(List<String> values) {
            addCriterion("insert_time not in", values, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeBetween(String value1, String value2) {
            addCriterion("insert_time between", value1, value2, "insertTime");
            return (Criteria) this;
        }

        public Criteria andInsertTimeNotBetween(String value1, String value2) {
            addCriterion("insert_time not between", value1, value2, "insertTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(String value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(String value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(String value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(String value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(String value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(String value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLike(String value) {
            addCriterion("update_time like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotLike(String value) {
            addCriterion("update_time not like", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<String> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<String> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(String value1, String value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(String value1, String value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeIsNull() {
            addCriterion("sync_time is null");
            return (Criteria) this;
        }

        public Criteria andSyncTimeIsNotNull() {
            addCriterion("sync_time is not null");
            return (Criteria) this;
        }

        public Criteria andSyncTimeEqualTo(String value) {
            addCriterion("sync_time =", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeNotEqualTo(String value) {
            addCriterion("sync_time <>", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeGreaterThan(String value) {
            addCriterion("sync_time >", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeGreaterThanOrEqualTo(String value) {
            addCriterion("sync_time >=", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeLessThan(String value) {
            addCriterion("sync_time <", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeLessThanOrEqualTo(String value) {
            addCriterion("sync_time <=", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeLike(String value) {
            addCriterion("sync_time like", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeNotLike(String value) {
            addCriterion("sync_time not like", value, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeIn(List<String> values) {
            addCriterion("sync_time in", values, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeNotIn(List<String> values) {
            addCriterion("sync_time not in", values, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeBetween(String value1, String value2) {
            addCriterion("sync_time between", value1, value2, "syncTime");
            return (Criteria) this;
        }

        public Criteria andSyncTimeNotBetween(String value1, String value2) {
            addCriterion("sync_time not between", value1, value2, "syncTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}